package com.chixing.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDate;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 用户购买简历记录（订单）
 * </p>
 *
 * @author Jason Marslyon
 * @since 2022-10-04
 */
@ApiModel(value = "Myorders对象", description = "用户购买简历记录（订单）")
public class Myorders implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("附件id")
    @TableId(value = "order_id", type = IdType.AUTO)
    private Integer orderId;

    @ApiModelProperty("模板id")
    private Integer templateId;

    @ApiModelProperty("客户ID")
    private Integer personId;

    @ApiModelProperty("订单时间")
    private LocalDate orderCreateTime;

    @ApiModelProperty("订单金额")
    private Float orderPrice;

    @ApiModelProperty("订单编号")
    private String orderNumber;

    @ApiModelProperty("订单状态")
    private Integer orderState;

    private String myordersVersion;

    private Integer text1;

    private String text2;

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }
    public Integer getTemplateId() {
        return templateId;
    }

    public void setTemplateId(Integer templateId) {
        this.templateId = templateId;
    }
    public Integer getPersonId() {
        return personId;
    }

    public void setPersonId(Integer personId) {
        this.personId = personId;
    }
    public LocalDate getOrderCreateTime() {
        return orderCreateTime;
    }

    public void setOrderCreateTime(LocalDate orderCreateTime) {
        this.orderCreateTime = orderCreateTime;
    }
    public Float getOrderPrice() {
        return orderPrice;
    }

    public void setOrderPrice(Float orderPrice) {
        this.orderPrice = orderPrice;
    }
    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }
    public Integer getOrderState() {
        return orderState;
    }

    public void setOrderState(Integer orderState) {
        this.orderState = orderState;
    }
    public String getMyordersVersion() {
        return myordersVersion;
    }

    public void setMyordersVersion(String myordersVersion) {
        this.myordersVersion = myordersVersion;
    }
    public Integer getText1() {
        return text1;
    }

    public void setText1(Integer text1) {
        this.text1 = text1;
    }
    public String getText2() {
        return text2;
    }

    public void setText2(String text2) {
        this.text2 = text2;
    }

    @Override
    public String toString() {
        return "Myorders{" +
            "orderId=" + orderId +
            ", templateId=" + templateId +
            ", personId=" + personId +
            ", orderCreateTime=" + orderCreateTime +
            ", orderPrice=" + orderPrice +
            ", orderNumber=" + orderNumber +
            ", orderState=" + orderState +
            ", myordersVersion=" + myordersVersion +
            ", text1=" + text1 +
            ", text2=" + text2 +
        "}";
    }
}
